var router = require('koa-router')();

// 访问地址的前缀
router.prefix('/api/blog');

router.get('/list', function *(next) {
  const query = this.query
  this.body = {
    errno: 0,
    query,
    data: ['获取博客列表']
  };
});


module.exports = router;
